package com.yooohooo.designpattern.builder;

import com.yooohooo.designpattern.bean.phone.Phone;
import com.yooohooo.designpattern.bean.phone.SonyPhone;

/**
 * @ClassName: SonyBuilder
 * @Description:
 * @author Yooo
 * @date 2017年6月19日 上午3:52:33
 * 
 */
public class SonyPhoneBuilder implements PhoneBuilder {
	private SonyPhone sonyPhone = new SonyPhone();

	public void buildBrand() {
		sonyPhone.setBrand("Sony");
	}

	public void buildOs() {
		sonyPhone.setOs("Android");
	}

	public Phone getResult() {
		return sonyPhone;
	}
}
